package com.wwwarehouse.usercenter.constant;

/**
 * Created by Jackie on 2017/9/6.
 * 用户中心
 */

public class UserCenterConstant {
    /**
     * 开启mock数据
     */
    public static final boolean MOCK = false;
    /**
     * 微信登录
     */
    public static final String URL_LOGIN_APP = "router/api?method=usercenter.login.appLogin&version=1.0.0";
    /**
     * 用户名密码登录
     */
    public static final String URL_LOGIN_ACCOUNT = "router/api?method=usercenter.login.userAccount&version=1.0.0";
    /**
     * 登出
     */
    public static final String URL_LOGIN_OUT = "router/api?method=usercenter.user.loginOut&version=1.0.0";
    /**
     * 账号锁定解锁(手动锁定解锁)
     */
    public static final String URL_ACCOUNT_LOCK = "router/api?method=user.accountLock&version=1.0.0";
    /**
     * 账号解锁查询(手动解锁)
     */
    public static final String URL_GET_ACCOUNT_LOCK = "router/api?method=user.getAccountLock&version=1.0.0";
    /**
     * 绑定设备
     */
    public static final String URL_LOGIN_BIND = "router/api?method=usercenter.login.bind&version=1.0.0";
    /**
     * 获取短信验证码
     */
    public static final String URL_GET_SMS_VERIFICATION = "router/api?method=usercenter.register.sendCodeSms&version=1.0.0";
    /**
     * 验证图片验证码, 发送短信
     */
    public static final String URL_CHECK_IMAGE_CODE_SEND_SMS = "router/api?method=usercenter.modify.checkImageCodeSendSms&version=1.0.0";
    /**
     * 获取图片验证码
     */
    public static final String URL_GET_IMAGE_VERIFICATION = "router/api?method=getImageVerification&version=1.0.0";
    /**
     * 验证手机短信验证码
     */
    public static final String URL_CHECK_VERIFY_CODE = "router/api?method=usercenter.register.checkVerifyCode&version=1.0.0";
    /**
     * 修改密码
     */
    public static final String URL_UPDATE_PASSWORD = "router/api?method=usercenter.modify.password&version=1.0.0";
    /**
     * 验证邀请码-绑定用户关系
     */
    public static final String URL_CHECK_INVITE_CODE = "router/api?method=usercenter.register.checkInviteCode&version=1.0.0";

    /**
     * 验证身份证
     */
    public static final String URL_CHECK_ID_CARD = "router/api?method=usercenter.register.checkIdCard&version=1.0.0";
    /**
     * 验证用户名
     */
    public static final String URL_CHECK_USER_ACCOUNT = "router/api?method=usercenter.register.checkUserAccount&version=1.0.0";
    /**
     * 发送绑定的邮箱
     */
    public static final String URL_SEND_EMAIL = "router/api?method=usercenter.register.sendEmail&version=1.0.0";
    /**
     * 验证邮箱是否绑定
     */
    public static final String URL_CHECK_EMAIL_BIND = "router/api?method=usercenter.register.checkEmailBind&version=1.0.0";
    /**
     * 保存注册信息
     */
    public static final String URL_SAVE_REGISTER_INFO = "router/api?method=usercenter.register.saveRegisterInfo&version=1.0.0";

    /**
     * 发送邀请链接
     */
    public static final String URL_SEND_INVITE = "router/api?method=usercenter.user.sendInvite&version=1.0.0";
    /**
     * 查看同意接收邀请信息
     */
    public static final String URL_GET_ACCEPT_INVITE = "router/api?method=usercenter.user.getAcceptInvite&version=1.0.0";
    /**
     * 被邀请人拒绝同意邀请
     */
    public static final String URL_REJECT_AGREE_INVITE = "router/api?method=usercenter.user.rejectAgreeInvite&version=1.0.0";
    /**
     * 查看已邀请的人
     */
    public static final String URL_GET_INVITE_INFO = "router/api?method=usercenter.user.getInviteInfos&version=1.0.0";

    /**
     * 手机端确认登录(扫码登录功能)
     */
    public static final String URL_CONFIRM_LOGIN = "router/api?method=usercenter.user.confirmLogin&version=1.0.0";

    /**
     * 获取审核被邀请人的注册信息
     */
    public static final String GET_AUDIT_INFO = "router/api?method=usercenter.user.getAuditInfo&version=1.0.0";
    /**
     * 提交审核结果
     */
    public static final String SAVE_AUDIT = "router/api?method=usercenter.user.saveAudit&version=1.0.0";
    /**
     * 获取需要修改的注册信息
     */
    public static final String GET_AUDIT_REGISTER_INFO = "router/api?method=usercenter.user.getAuditRegisterInfo&version=1.0.0";
    /**
     * 提交修改注册信息
     */
    public static final String UPDATE_REGISTER_INFO = "router/api?method=usercenter.user.updateRegisterInfo&version=1.0.0";
    /**
     * 创建顶级业务单位
     */
    public static final String CREATE_BUSINESSUNIT = "router/api?method=businessUnits.createBusinessUnit&version=1.0.0";
    /**
     * 根据业务单位查询
     */
    public static final String GET_BUSINESSUNIT_INFO = "router/api?method=businessUnits.getBusinessUnitInfo&version=1.0.0";
    /**
     * 根据邀请人查询业务单位
     */
    public static final String GET_BUSINESSUNIT_INFO_BYTYPE = "router/api?method=businessUnits.getBusinessUnitInfoByType&version=1.0.0";

    /**
     * 分享到联系人接口
     */
    public static final String SHARE_CONTACT_URL = "router/api?method=cmShareInfo.sendShareInfo&version=1.0.0";

    /**
     * 三角链-查询接口，查询三个角色的信息
     */
    public static final String GET_MANAGER_USER_INFO = "router/api?method=usercenter.manager.getManagerUserInfo&version=1.0.0";
    /**
     * 三角链-撤销授权
     */
    public static final String REVOCATION_ACCREDIT = "router/api?method=usercenter.manager.revocationAccredit&version=1.0.0";
    /**
     * 三角链-查看站内通讯录是否有人
     */
    public static final String CHECK_ADDRESS_LIST = "router/api?method=usercenter.user.checkAddressList&version=1.0.0";
    /**
     * 三角链-发送邀请链接
     */
    public static final String SEND_INVITE = "router/api?method=usercenter.user.sendInvite&version=1.0.0";
    /**
     * 三角链-指定一级管理者/一级监控者
     */
    public static final String ASSIGN_MANAGER = "router/api?method=usercenter.manager.assignManager&version=1.0.0";
    /**
     * 三角链-密码验证
     */
    public static final String CHECK_PASSWORD = "router/api?method=usercenter.manager.checkPassword&version=1.0.0";
    /**
     * 查询用户所属的业务单位
     */
    public static final String GET_BUSINESSUNITS_BY_USERID = "router/api?method=business.getBusinessUnitsByUserId&version=1.0.0";
    /**
     * 获取某人在某个业务单位下所拥有的有效卡片权限
     */
    public static final String GET_AUTHORITY_BY_BUSI_ID = "router/api?method=cardAuth.getAuthorityByBusiId&version=1.0.0";
    /**
     * 权限回收-查询用户可以回收的权限项
     */
    public static final String GET_AUTHORIZED_OUT_ITENS = "router/api?method=cardAuth.getAuthorizedOutItems&version=1.0.0";

    /**
     * 权限回收-回收权限
     */
    public static final String RETRIEVE_AUTHORITY = "router/api?method=cardAuth.retrieveAuthority&version=1.0.0";

    public static final String CHECK_USER_IS_ON_LINE = "router/api?method=cardAuth.answerOnline&version=1.0.0";
    /**
     * 获取授权二维码信息
     */
    public static final String GET_AUTH_PROCESS_UKID = "router/api?method=cardAuth.getAuthProcessUkid&version=1.0.0";
    /**
     * 团队批量授权
     */
    public static final String TEAM_BATCH_ADD_AUTHOR = "router/api?method=cardAuth.teamBatchAddAuthority&version=1.0.0";
    /**
     * 扫码后授权
     */
    public static final String SCAN_CARD_AUTH = "router/api?method=cardAuth.scanCardAuth&version=1.0.0";
    /**
     * 查询授权成功详细信息(被授权人调用)
     */
    public static final String GET_SUCCESS_DETAIL = "router/api?method=cardAuth.getSuccessDetail&version=1.0.0";
    /**
     * 查询授权失败详细信息
     */
    public static final String GET_AUTH_FAIL_DETAIL = "router/api?method=cardAuth.getAuthFailDetail&version=1.0.0";

    public static final String GET_MAIL_LIST_PERMISSION = "router/api?method=cardAuth.batchAuthority&version=1.0.0";

    public static final String QUERY_DISTRIBUTE_ERROR_INFO = "router/api?method=cardAuth.getAuthFailDetail&version=1.0.0";

    public static final String QUERY_NOT_ON_LINE_FIREND = "router/api?method=cardAuth.countOfflineTotal&version=1.0.0";

    /**
     *  我的业务关系
     */
    /** 校验受邀人权限及业务单位关系 */
    public static final String CHECK_INVITE = "router/api?method=businessRelation.checkInvite&version=1.0.0";
    /**  向受邀人发送邀请 */
    public static final String PUSH_INVITE_AND_CREATE_TASK = "router/api?method=businessRelation.pushInviteAndCreateTask&version=1.0.0";
    /**  请求任务卡片数据 */
    public static final String GET_INVITE_INFO = "router/api?method=businessRelation.getInviteInfo&version=1.0.0";
    /**  邀请反馈 */
    public static final String INVITE_RESULT = "router/api?method=businessRelation.inviteResult&version=1.0.0";
    /**  客户档案列表 */
    public static final String GET_RELATION_BUSINESS_UBIT_LIST = "router/api?method=businessRelation.getRelationBusinessUnitList&version=1.0.0";
    /**  客户档案详情 */
    public static final String GET_RELATION_DETAILED_INFO = "router/api?method=businessRelation.getRelationDetailedInfo&version=1.0.0";
    /**  返回当前业务单位业务员 */
    public static final String GET_RELATION_SALESMANS = "router/api?method=businessRelation.getRelationSalesmans&version=1.0.0";
    /**  查找业务单位所属标签及预设标签 */
    public static final String SEARCH_CMTAG_BY_BUSINESS_UKID = "router/api?method=cmTagService.searchCmTagByBusinessUkid&version=1.0.0&t=1111";
    /**  修改客户档案详情 */
    public static final String UPDATE_BUSINESS_RELATION = "router/api?method=businessRelation.updateBusinessRelation&version=1.0.0";
    /**  修改标签 */
    public static final String UPDATE_CM_TAG = "router/api?method=cmTagService.updateCmTag&version=1.0.0&t=1111";
    /**  添加标签 */
    public static final String ADD_CM_TAG = "router/api?method=cmTagService.addCmTag&version=1.0.0&t=1111";
    /**  客户档案列表-信息卡 */
    public static final String GET_RELATION_BUSINESS_UNIT_LIST_BY_INFO = "router/api?method=businessRelation.getRelationBusinessUnitListByInfo&version=1.0.0";
    /**  通过业务单位返回对应标签及业务员 */
    public static final String GET_SALESMANS_AND_TAGS_BY_BUID = "router/api?method=businessRelation.getSalesmansAndTagsByBuId&version=1.0.0";

	/**
	 * 查询权限所授权出去的接收人
	 */
	public static final String GET_RETRIEVE_USERES = "router/api?method=cardAuth.getRetrieveUseres&version=1.0.0&w_appid=wh_iphone_1.0";

    public static final String sp_Finger = "sp_finger";  //指纹识别是否开启

    public static final String KEY_LOGIN_MOBILE = "key_login_mobile";
    public static final String KEY_LOGIN_ERROR = "key_login_error";
    public static final String KEY_LOGIN_SMS_CODE = "key_login_sms_code";
    public static final String KEY_LOCK_ACCOUNT_STATE = "key_lock_account_state";
    public static final String KEY_REGISTER_SEND_INVITE = "key_register_send_invite";
    public static final String KEY_AUTH_RECEIVE_DATA = "key_auth_receive_data";
    public static final String KEY_PROCESS_ID = "KEY_PROCESS_ID";
    public static final String KEY_INVITE_CHECK_LIST = "key_invite_check_list";
    public static final String KEY_INVITE_CHECK_POSITION = "key_invite_check_position";
    public static final String KEY_BUSINESS_UNIT_ID = "key_business_unit_id";
    public static final String KEY_AUTHORITY_ITEM_BEAN = "KEY_AUTHORITY_ITEM_BEAN";
    public static final String KEY_AUTHORITY_RECYCLE_ITEM_BEAN = "KEY_AUTHORITY_RECYCLE_ITEM_BEAN";
    public static final String KEY_BR_CUSTOMER_FILE_ITEM_BEAN = "KEY_BR_CUSTOMER_FILE_ITEM_BEAN";
    public static final String KEY_START_TIME = "key_start_time";
    public static final String KEY_END_TIME = "key_end_time";
    public static final String KEY_AUTH_PROCESS_UKID = "key_auth_process_ukid";
    public static final String KEY_BATCH_AUTH = "key_batch_auth";
    public static final String KEY_SCAN_AUTHORITY = "key_scan_authority";
    public static final String KEY_AUTH_PROCESS_ID = "key_auth_process_id";
    public static final String SAVE_BUSINESSUNITID = "key_business_unit_id";
	public static final String KEY_SERIALIZABLE = "key_serializable";

    /**
     * ARouter path 相关
     */
    // 卡片桌面
    public static final String PATH_MAIN = "/app_module/MainActivity";
    // 登录页面
    public static final String PATH_LOGIN_ACTIVITY = "/UserCenter/LoginActivity";
    // PC 确认登录成功页面
    public static final String PATH_PC_LOGIN_CONFIRM_ACTIVITY = "/UserCenter/PCLoginConfirmActivity";
    // PC 确认登录失败页面
    public static final String PATH_PC_LOGIN_ERROR_ACTIVITY = "/UserCenter/PCLoginErrorActivity";
    // 注册拼卡页面
    public static final String PATH_REGISTER_CARD_ACTIVITY = "/UserCenter/RegisterCardActivity";
    // 系统服务协议页面
    public static final String PATH_SYSTEM_SERVICE_ACTIVITY = "/UserCenter/SystemServiceActivity";
    // 同意邀请页面
    public static final String PATH_AGREE_2_ACCEPT_INVITE_FRAGMENT = "/UserCenter/Agree2AcceptInviteFragment";
    // 邀请注册页面
    public static final String PATH_INVITE_REGISTER_FRAGMENT = "/UserCenter/InviteRegisterFragment";
    // 修改注册信息
    public static final String PATH_MODIFY_REGISTER_INFO = "/UserCenter/ModifyRegisterInfo";
    // 锁定账号页面
    public static final String PATH_LOCK_ACCOUNT_FRAGMENT = "/UserCenter/LockAccountFragment";
    // 解锁账号页面
    public static final String PATH_UNLOCK_ACCOUNT_STEP1_FRAGMENT = "/UserCenter/UnlockAccountStep1Fragment";
    // 分享的联系人定制页面
    public static final String PATH_SHARE_INVITED_OWN = "/UserCenter/ShareShowInvitedFragment";
    // 分享的联系人详情定制页面
    public static final String PATH_SHARE_INVITED_DETAIL_OWN = "/UserCenter/ShareInviteDetailsFragment";
    // 二维码面对面分享页面
    public static final String PATH_SHARE_QRCODE_OWN = "/UserCenter/ShareQRcodeFragment";
    // 测试页面
    public static final String PATH_SHARE_TEST_FRAGMWNT = "/UserCenter/TestShareFragment";
    // 创建三角链页面
    public static final String PATH_TC_FRAGMWNT = "/UserCenter/TriangulationChainFragment";
    // 管理三角链页面
    public static final String PATH_TC_AM_FRAGMWNT = "/UserCenter/TCAuthenticationFragment";
    // 三角链-成功页面
    public static final String PATH_TC_SUCCESS_FRAGMWNT = "/UserCenter/TCSuccessFragment";
    //指纹的activity
    public static final String PATH_FINGERLOGIN_ACTIVITY = "/UserCenter/FingerLockActivity";
    //创建顶级业务单位
    public static final String PATH_CREATE_BUSINESSUNIT_FRAGMENT = "/UserCenter/CreateBusinessUnitFragment";
    //信息卡片过来的viewpager
    public static final String PATH_BUSINESSINFO_VIEWPAGERFRAGMENT = "/UserCenter/BusinessInfoViewPagerFragment";

    //审核邀请人界面
    public static final String PATH_REVIEW_INVITEE = "/UserCenter/ReviewInviteeFragment";
    // 权限接收页面
    public static final String PATH_AUTHORITY_RECEIVE = "/UserCenter/AuthorityReciveFragment";
    // 权限分配假入口
    public static final String PATH_FAKE_ENTRANCE = "/UserCenter/FakeAuthorityEntranceFragment";
    // 权限分配点击通知查看分配的详情
    public static final String PATH_AUTHORITY_NOTIFICATION = "/UserCenter/AuthNotificationFragment";
    // 权限分配主界面
    public static final String PATH_AUTHORITY_DISTRIBUTE = "/UserCenter/AuthorityDistributePagerFragment";
    // 权限回收
    public static final String PATH_AUTHORITY_PR = "/UserCenter/PRFragment";
    // 添加业务伙伴
    public static final String PATH_AUTHORITY_BR_ADD_FRIENDS = "/UserCenter/BRAddFriendsFragment";
    // 业务伙伴邀请
    public static final String PATH_AUTHORITY_BR_INVITE_FRIENDS = "/UserCenter/BRInviteFriendsFragment";
    // 维护客户档案
    public static final String PATH_AUTHORITY_BR_CUSTOMER_FILE = "/UserCenter/BRCustomerFileFragment";
    // 客户档案信息
    public static final String PATH_AUTHORITY_BR_CUSTOMER_FILE_CHECK = "/UserCenter/BRCustomerFileCheckFragment";
}
